<span class="separator"></span>
<div id="main-heading">
<div class="columns">
	<div class="two-third">
		<h2>Clipping Path & Services' Portfolio</h2>
		<ul id="breadcrumb">
			<li><a href="<?php echo $this->baseUrl('/');?>">Home</a> &raquo;
				<ul>
					<li><a href="#">Portfolio</a></li>
				</ul>
			</li>
		</ul>							
		<!-- breadcrumb - end -->									
	</div>
	<div class="third">
		<div class="addthis">
			<!-- AddThis Button BEGIN -->
			<div class="addthis_toolbox addthis_default_style ">
			<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4ce5339244cec0d5" class="addthis_button_compact">Share</a>
			<span class="addthis_separator">|</span>
			<a class="addthis_button_preferred_1"></a>
			<a class="addthis_button_preferred_2"></a>
			<a class="addthis_button_preferred_3"></a>
			<a class="addthis_button_preferred_4"></a>
			</div>
			<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4ce5339244cec0d5"></script>
			<!-- AddThis Button END -->
		</div>
	</div>
</div>
</div>
<span class="separator"></span><!-- main-heading - end -->		

<?php if($action == 'byport'):?>

	<script type="text/javascript">
	$(function(){
		$('#cont').beforeAfter();
	});
	</script>
	
	<h3><?php echo($port['title']);?></h3>
	
	<div id="cont">
	 <div><img alt="before" src="<?php echo $this->baseUrl('/');?>uploads/filemanager/<?php echo $port['beforeimg']; ?>" width="600" height="366" /></div>
	 <div><img alt="after" src="<?php echo $this->baseUrl('/');?>uploads/filemanager/<?php echo $port['afterimg']; ?>" width="600" height="366" /></div>
	</div>
	
	<?php echo($port['description']);?>
	
<?php else:?>
	<ul class="gallery-extended grid">	

	<?php foreach($pfolio['data'] as $pr):?>
		<li style="width: 300px;margin: 18px 40px;">
			<ul class="gallery">
				<li>
					<div class="slider simple">
						<ul class="items">
							<li><a class="frame" rel="lightbox" href="<?php echo $this->baseUrl('/');?>uploads/filemanager/<?php echo $pr['modal']; ?>">
								<img src="<?php echo $this->baseUrl('/');?>uploads/filemanager/<?php echo $pr['thumb']; ?>" width="290" height="170" alt="" /></a>
							</li>
						</ul>
						<div class="featured-ribbon"></div>
						
					</div>
				</li>
			</ul>
			<div class="details">
				<h2 style=""><a href="<?php echo $this->baseurl("/portfolio-by-entry/{$pr['id']}/" . App::Helper('Utility')->text2Normalize($pr['title'])); ?>"><?php echo($pr['title']);?></a></h2>
			</div>
		</li>
	<?php endforeach;?>
	</ul>
<?php endif ?>

<span class="separator"></span>

<div class="columns">
	<div class="two-third">
		<img src="images/icons/phone.png" alt="" class="alignleft" />
		<h3>Need beautiful design? We are ready to work. <br />Call us now and arrange a meeting 888-322-322</h3>
	</div>
	<div class="third">
		<a href="#" class="button chilli-default alignright">Hire us now</a>
	</div>
</div>